﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain
    
{
    /// <summary>
    /// 角色权限中间表实体
    /// </summary>
    [Table("RolePermissionModel")]
    public class RolePermissionModel:BaseEntity
    {

        /// <summary>
        /// 权限表外键
        /// </summary>
        public long PermissionId { get; set; }
        /// <summary>
        /// 角色表外键
        /// </summary>
        public long RoleId { get; set; }
    }
}
